 package com.education.platform.api.service;

 import com.education.platform.api.vo.request.AliPayRequestVO;
 import com.education.platform.api.vo.request.UserOrderUpdateVO;
 import com.education.platform.common.service.BaseService;
 import com.education.platform.dao.entity.UserOrderDO;

 import java.util.List;

 /**
* describe: 订单
* @author : tomato
* @date: 2020-06-14 09:47:11.640
**/
public interface UserOrderService  extends BaseService<UserOrderDO> {

    /**
     * 创建订单
     * @param updateVO
     */
    UserOrderDO createOrder(UserOrderUpdateVO updateVO);




     /**
      * 确认支付商品订单
      * @param orderId
      * @return
      */
    boolean confirmPay(Integer orderId);

     /**
      * 获取已经支付的订单
      * @return
      */
    List<UserOrderDO> getAreadyPayOrderList(UserOrderDO userOrder);

}
